/*
 * @Description:
 * @Author: wuwl
 * @Date: 2024-05-13 14:45:48
 * @FilePath: \vue-pdf2\src\route\index.js
 * @LastEditTime: 2024-05-23 15:46:10
 * @LastEditors: wuwl
 */
import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

const routes = [
  {
    path: "/merge",
    name: "merge",
    component: () => import("../views/merge/index.vue"),
  },
  {
    path: "/",
    component: () => import("../views/home.vue"),
  },
  {
    path: "/home",
    name: "home",
    component: () => import("../views/home.vue"),
  },
  {
    path: "/pageJs",
    name: "pageJs",
    component: () => import("../views/pageJs/index.vue"),
  },
  {
    path: "/html2pdf",
    name: "html2pdf",
    component: () => import("../views/html2pdf/index.vue"),
  },
  {
    path: "/pdfPro",
    name: "pdfPro",
    component: () => import("../views/pdfPro/index.vue"),
  },
  {
    path: "/splitPdf",
    name: "splitPdf",
    component: () => import("../views/splitPdf/index.vue"),
  },
];

const router = new VueRouter({
  routes,
});
export default router;
